package com.ptu.spzx.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.io.Serializable;
@Data
@Component
@ConfigurationProperties(prefix = "account")
public class AccountMessage implements Serializable {
//    @Value("${account.id}")
    private Long id;
//    @Value("${account.username}")
    private String username;
}
